Skip to content

Feat: ChatManager.SendSystemMail#1084

Open
RyanYappert wants to merge 1 commit into
sebastian-heinz:developfrom
RyanYappert:feat/mail-interface
Open

Feat: ChatManager.SendSystemMail#1084
RyanYappert wants to merge 1 commit into
sebastian-heinz:developfrom
RyanYappert:feat/mail-interface

Conversation

@RyanYappert

Copy link
Copy Markdown
Collaborator

Expose a simple method in ChatManager for sending a system mail with items to a given character ID. People might find this useful for various task-related functionality like distributing rewards.

Checklist:

  • The project compiles
  • The PR targets develop branch

@pacampbell

Copy link
Copy Markdown
Collaborator

Is this actually done? I see there is a new function but how do you intend to use it?

@RyanYappert

Copy link
Copy Markdown
Collaborator Author

I don't have any immediate plans for it, but I'm exposing it due to some conversations I've had about desired mechanics like EXM Rank Rewards, Trading, and similar cases where it's useful to be able to send items to players. Since tasks are executed on the head node, and a channel can't easily distribute items across channel boundaries (there's no RPC machinery for it), this is a straightforward way for ScheduledTasks to distribute items. I expect people to use this in custom scripts.

@pacampbell

pacampbell commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

I don't have any immediate plans for it, but I'm exposing it due to some conversations I've had about desired mechanics like EXM Rank Rewards, Trading, and similar cases where it's useful to be able to send items to players. Since tasks are executed on the head node, and a channel can't easily distribute items across channel boundaries (there's no RPC machinery for it), this is a straightforward way for ScheduledTasks to distribute items. I expect people to use this in custom scripts.

I assume then, you know it at least works? It seems useful, let's merge it once confirmed. One other thought, is it callable from the scripting interface? We should probably add the hook in here: https://github.com/sebastian-heinz/Arrowgene.DragonsDogmaOnline/blob/develop/Arrowgene.Ddon.GameServer/Scripting/LibDdon.cs#L301

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants